# $Id: PKGBUILD 81906 2013-01-03 11:48:18Z jelle $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>

pkgname=gstreamermm
pkgver=0.10.11
pkgrel=1
pkgdesc="C++ interface for GStreamer"
arch=('i686' 'x86_64')
url="http://gstreamer.freedesktop.org/bindings/cplusplus.html"
license=('LGPL')
depends=('glibmm' 'gstreamer0.10-base>=0.10.25' 'libsigc++2.0' 'libxml++')
makedepends=('doxygen' 'pkgconfig')
options=('!libtool')
changelog=$pkgname.changelog
source=(http://ftp.gnome.org/pub/GNOME/sources/gstreamermm/0.10/${pkgname}-${pkgver}.tar.xz)
sha256sums=('12b5f377363594a69cb79f2f5cd0a8b1813ca6553680c3216e6354cfd682ebc6')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}

  ./configure --prefix=/usr
  make
}

package() {
  cd ${srcdir}/${pkgname}-${pkgver}

  make DESTDIR=${pkgdir} install
}

check() {
  cd ${srcdir}/${pkgname}-${pkgver}
# Make check won't work, since it checks mic input/capture which don't exists on pkgbuild.com
#  make check

}
